from fitrollingML_E import output_MSE as rolling

h = 2
f = 'q'
for m in ['Elastic Net', 'Random Forest', 'Gradient Boosted Tree']:
    for pdv in [True]:
        if f == 'a' or h <= 4:
            rolling(freq = f, horizon = h, price_div = pdv, method = m, roll_yrs = 5)